package com.jinhua.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * Copyright
 *
 * @Author WuHuang
 * @Date 2022/9/6
 */
@Data
public class PaginationResponse<T> implements Serializable {
    private static final long serialVersionUID = -8266377191573464318L;
    @ApiModelProperty(notes = "当前页，起始值为1")
    private Integer pageNum;
    @ApiModelProperty(notes = "分页大小")
    private Integer pageSize;
    @ApiModelProperty(notes = "总数")
    private Long totalCount;
    @ApiModelProperty(notes = "数据列表")
    private List<T> dataList;
}
